// 公共路由
import LayOut from "@/layOut"

const constantRoutes = [
    {
        path: "",
        component: LayOut,
        active: true,
        meta: { title: "看板", icon: "icon-board" },
        children: [
            {
                path: "/",
                name: "Preview",
                meta: { title: "看板", icon: "icon-board", noCache: true },
                component: () => import("@/views/preview.vue")
            }
        ]
    }, {
        path: '/login',
        name: 'Login',
        hidden: true,
        active: false,
        meta: { title: "登录" },
        component: () => import("@/views/login.vue")
    }, {
        path: "*",
        name: "NotFound",
        hidden: true,
        active: false,
        meta: { title: "404 NotFound" },
        component: () => import("@/views/notFound.vue")
    }
]

export default constantRoutes
